package com.hexacta.hrs.web.struts.actions.feedbacks;

public class FeedbackFinalResultsFilters {

	private String period;
	
	private Long selectedEmployeeId;

	private String selectedEmployeeName;

	private String selectedRoleId;

	private String selectedRoleName;

	private Long selectedMentorId;

	private String selectedMentorName;
	
	public String getPeriod() {
		return period;
	}

	public void setPeriod(String period) {
		this.period = period;
	}

	public Long getSelectedEmployeeId() {
		if(( getSelectedEmployeeName() != null)&&(!getSelectedEmployeeName().trim().equals(""))){
			return selectedEmployeeId;
		}else{
			return null;
		}
	}

	public void setSelectedEmployeeId(Long selectedEmployeeId) {
		this.selectedEmployeeId = selectedEmployeeId;
	}

	public String getSelectedEmployeeName() {
		return selectedEmployeeName;
	}

	public void setSelectedEmployeeName(String selectedEmployeeName) {
		this.selectedEmployeeName = selectedEmployeeName;
	}

	public String getSelectedRoleId() {
		if((getSelectedRoleName() != null)&&(!getSelectedRoleName().trim().equals("")) ){
			return selectedRoleId;
		}else{
			return null;
		}
	}

	public void setSelectedRoleId(String selectedRoleId) {
		this.selectedRoleId = selectedRoleId;
	}

	public String getSelectedRoleName() {
		return selectedRoleName;
	}

	public void setSelectedRoleName(String selectedRoleName) {
		this.selectedRoleName = selectedRoleName;
	}

	public Long getSelectedMentorId() {
		if((getSelectedMentorName() != null)&&(!getSelectedMentorName().trim().equals(""))){
			return selectedMentorId;
		}else{
			return null;
		}
	}

	public void setSelectedMentorId(Long selectedMentorId) {
		this.selectedMentorId = selectedMentorId;
	}

	public String getSelectedMentorName() {
		return selectedMentorName;
	}

	public void setSelectedMentorName(String selectedMentorName) {
		this.selectedMentorName = selectedMentorName;
	}
	
	public FeedbackFinalResultsFilters() {
		this.setSelectedEmployeeName("");
		this.setSelectedRoleName("");
		this.setSelectedMentorName("");
		
		this.setSelectedEmployeeId(null);
		this.setSelectedRoleId(null);
		this.setSelectedMentorId(null);
	}
}
